<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%--先引入shiro的标签库--%>
<%@ taglib uri="http://shiro.apache.org/tags" prefix="shiro"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>首页</title>
</head>
<body>
	<h1>首页.....index.jsp</h1>

	<%--<a href="login.jsp">登陆</a>--%>

	<%--匿名标签--%>
	<%--<shiro:guest>--%>
		<%--<h1>111</h1>--%>
		<%--<div>222</div>--%>
		<%--<ul>333</ul>--%>
	<%--</shiro:guest>--%>

	<shiro:guest>
		[游客身份可见的内容]
		<a href="login.jsp">登陆</a>
	</shiro:guest>

	<%--<a href="logout">退出</a>--%>

	<shiro:authenticated>
		[会员身份可见的内容]
		<a href="logout">退出</a>
	</shiro:authenticated>
	
</body>
</html>